package com.weimob.mcloud.wechatwork.customer.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author wei.zhai
 * @Description TODO
 * @Date 2023/01/11 20:02
 */
@Configuration
//@EnableApolloConfig("dynamic-thread-pool")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DynamicThreadPoolConfig {

    @Value("${corePoolSize:2}")
    private Integer corePoolSize;

    @Value("${maxPoolSize:2}")
    private Integer maxPoolSize;

    @Value("${queueSize:100}")
    private Integer queueSize;

}
